package com.zg.common.core.constant;

public class AssistantContants {
    /**
     * PC端客户端类型前缀
     */
    public static final String CLIENT_TYPE_PC = "pc-";

    /**
     * 移动端客户端类型前缀
     */
    public static final String CLIENT_TYPE_APP = "app-";

    /**
     * 二维码连接websocket通道标识
     */
    public static final String APP_WEBSOCKET_FLAG = "websocket:";

    /**
     * Redis键前缀 - WebSocket通道
     */
    public static final String REDIS_KEY_WEBSOCKET_CHANNEL = "websocket_channel:";


    /**
     * PC和移动端连接状态-未连接
     */
    public static final String CONN_STATUS_FALSE = "false";

    /**
     * PC和移动端连接状态-已连接
     */
    public static final String CONN_STATUS_TRUE = "true";

    /**
     * PC端已连接状态
     */
    public static final String CONN_STATUS_PC = "pc";

    /**
     * APP端已连接状态
     */
    public static final String CONN_STATUS_APP = "app";

    /**
     * 发送状态-发送失败
     */
    public static final Integer SEND_STATUS_FAIL = 0;

    /**
     * 发送状态-发送成功
     */
    public static final Integer SEND_STATUS_SUCCESS = 1;

    /**
     * 发送方向-发送给PC
     */
    public static final String DIRECTION_TO_PC = "TO_PC";
    /**
     * 发送方向-发送给APP
     */
    public static final String DIRECTION_TO_APP = "TO_APP";
    /**
     * 发送方向-发送给所有
     */
    public static final String DIRECTION_TO_ALL = "TO_ALL";

    /**
     * 展示客户端-PC
     */
    public static final String SHOW_CLIENT_PC = "PC";
    /**
     * 展示客户端-APP
     */
    public static final String SHOW_CLIENT_APP = "APP";

}
